
prim:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 7a 2f 00 00    	pushq  0x2f7a(%rip)        # 3fa0 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 7b 2f 00 00 	bnd jmpq *0x2f7b(%rip)        # 3fa8 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop
    1050:	f3 0f 1e fa          	endbr64 
    1054:	68 02 00 00 00       	pushq  $0x2
    1059:	f2 e9 c1 ff ff ff    	bnd jmpq 1020 <.plt>
    105f:	90                   	nop
    1060:	f3 0f 1e fa          	endbr64 
    1064:	68 03 00 00 00       	pushq  $0x3
    1069:	f2 e9 b1 ff ff ff    	bnd jmpq 1020 <.plt>
    106f:	90                   	nop
    1070:	f3 0f 1e fa          	endbr64 
    1074:	68 04 00 00 00       	pushq  $0x4
    1079:	f2 e9 a1 ff ff ff    	bnd jmpq 1020 <.plt>
    107f:	90                   	nop

Disassembly of section .plt.got:

0000000000001080 <__cxa_finalize@plt>:
    1080:	f3 0f 1e fa          	endbr64 
    1084:	f2 ff 25 6d 2f 00 00 	bnd jmpq *0x2f6d(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    108b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

0000000000001090 <putchar@plt>:
    1090:	f3 0f 1e fa          	endbr64 
    1094:	f2 ff 25 15 2f 00 00 	bnd jmpq *0x2f15(%rip)        # 3fb0 <putchar@GLIBC_2.2.5>
    109b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010a0 <puts@plt>:
    10a0:	f3 0f 1e fa          	endbr64 
    10a4:	f2 ff 25 0d 2f 00 00 	bnd jmpq *0x2f0d(%rip)        # 3fb8 <puts@GLIBC_2.2.5>
    10ab:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010b0 <__stack_chk_fail@plt>:
    10b0:	f3 0f 1e fa          	endbr64 
    10b4:	f2 ff 25 05 2f 00 00 	bnd jmpq *0x2f05(%rip)        # 3fc0 <__stack_chk_fail@GLIBC_2.4>
    10bb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010c0 <printf@plt>:
    10c0:	f3 0f 1e fa          	endbr64 
    10c4:	f2 ff 25 fd 2e 00 00 	bnd jmpq *0x2efd(%rip)        # 3fc8 <printf@GLIBC_2.2.5>
    10cb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010d0 <__isoc99_scanf@plt>:
    10d0:	f3 0f 1e fa          	endbr64 
    10d4:	f2 ff 25 f5 2e 00 00 	bnd jmpq *0x2ef5(%rip)        # 3fd0 <__isoc99_scanf@GLIBC_2.7>
    10db:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

00000000000010e0 <_start>:
    10e0:	f3 0f 1e fa          	endbr64 
    10e4:	31 ed                	xor    %ebp,%ebp
    10e6:	49 89 d1             	mov    %rdx,%r9
    10e9:	5e                   	pop    %rsi
    10ea:	48 89 e2             	mov    %rsp,%rdx
    10ed:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    10f1:	50                   	push   %rax
    10f2:	54                   	push   %rsp
    10f3:	4c 8d 05 66 07 00 00 	lea    0x766(%rip),%r8        # 1860 <__libc_csu_fini>
    10fa:	48 8d 0d ef 06 00 00 	lea    0x6ef(%rip),%rcx        # 17f0 <__libc_csu_init>
    1101:	48 8d 3d 4c 04 00 00 	lea    0x44c(%rip),%rdi        # 1554 <main>
    1108:	ff 15 d2 2e 00 00    	callq  *0x2ed2(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    110e:	f4                   	hlt    
    110f:	90                   	nop

0000000000001110 <deregister_tm_clones>:
    1110:	48 8d 3d f9 2e 00 00 	lea    0x2ef9(%rip),%rdi        # 4010 <__TMC_END__>
    1117:	48 8d 05 f2 2e 00 00 	lea    0x2ef2(%rip),%rax        # 4010 <__TMC_END__>
    111e:	48 39 f8             	cmp    %rdi,%rax
    1121:	74 15                	je     1138 <deregister_tm_clones+0x28>
    1123:	48 8b 05 ae 2e 00 00 	mov    0x2eae(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    112a:	48 85 c0             	test   %rax,%rax
    112d:	74 09                	je     1138 <deregister_tm_clones+0x28>
    112f:	ff e0                	jmpq   *%rax
    1131:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1138:	c3                   	retq   
    1139:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001140 <register_tm_clones>:
    1140:	48 8d 3d c9 2e 00 00 	lea    0x2ec9(%rip),%rdi        # 4010 <__TMC_END__>
    1147:	48 8d 35 c2 2e 00 00 	lea    0x2ec2(%rip),%rsi        # 4010 <__TMC_END__>
    114e:	48 29 fe             	sub    %rdi,%rsi
    1151:	48 89 f0             	mov    %rsi,%rax
    1154:	48 c1 ee 3f          	shr    $0x3f,%rsi
    1158:	48 c1 f8 03          	sar    $0x3,%rax
    115c:	48 01 c6             	add    %rax,%rsi
    115f:	48 d1 fe             	sar    %rsi
    1162:	74 14                	je     1178 <register_tm_clones+0x38>
    1164:	48 8b 05 85 2e 00 00 	mov    0x2e85(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    116b:	48 85 c0             	test   %rax,%rax
    116e:	74 08                	je     1178 <register_tm_clones+0x38>
    1170:	ff e0                	jmpq   *%rax
    1172:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    1178:	c3                   	retq   
    1179:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001180 <__do_global_dtors_aux>:
    1180:	f3 0f 1e fa          	endbr64 
    1184:	80 3d 85 2e 00 00 00 	cmpb   $0x0,0x2e85(%rip)        # 4010 <__TMC_END__>
    118b:	75 2b                	jne    11b8 <__do_global_dtors_aux+0x38>
    118d:	55                   	push   %rbp
    118e:	48 83 3d 62 2e 00 00 	cmpq   $0x0,0x2e62(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    1195:	00 
    1196:	48 89 e5             	mov    %rsp,%rbp
    1199:	74 0c                	je     11a7 <__do_global_dtors_aux+0x27>
    119b:	48 8b 3d 66 2e 00 00 	mov    0x2e66(%rip),%rdi        # 4008 <__dso_handle>
    11a2:	e8 d9 fe ff ff       	callq  1080 <__cxa_finalize@plt>
    11a7:	e8 64 ff ff ff       	callq  1110 <deregister_tm_clones>
    11ac:	c6 05 5d 2e 00 00 01 	movb   $0x1,0x2e5d(%rip)        # 4010 <__TMC_END__>
    11b3:	5d                   	pop    %rbp
    11b4:	c3                   	retq   
    11b5:	0f 1f 00             	nopl   (%rax)
    11b8:	c3                   	retq   
    11b9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000011c0 <frame_dummy>:
    11c0:	f3 0f 1e fa          	endbr64 
    11c4:	e9 77 ff ff ff       	jmpq   1140 <register_tm_clones>

00000000000011c9 <prim>:
    11c9:	f3 0f 1e fa          	endbr64 
    11cd:	55                   	push   %rbp
    11ce:	48 89 e5             	mov    %rsp,%rbp
    11d1:	48 89 7d c8          	mov    %rdi,-0x38(%rbp)
    11d5:	c7 45 d8 01 00 00 00 	movl   $0x1,-0x28(%rbp)
    11dc:	e9 88 00 00 00       	jmpq   1269 <prim+0xa0>
    11e1:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    11e5:	8b 45 d8             	mov    -0x28(%rbp),%eax
    11e8:	48 63 d0             	movslq %eax,%rdx
    11eb:	48 89 d0             	mov    %rdx,%rax
    11ee:	48 01 c0             	add    %rax,%rax
    11f1:	48 01 d0             	add    %rdx,%rax
    11f4:	48 c1 e0 02          	shl    $0x2,%rax
    11f8:	48 01 c8             	add    %rcx,%rax
    11fb:	48 05 a8 00 00 00    	add    $0xa8,%rax
    1201:	c7 00 01 00 00 00    	movl   $0x1,(%rax)
    1207:	8b 45 d8             	mov    -0x28(%rbp),%eax
    120a:	8d 48 01             	lea    0x1(%rax),%ecx
    120d:	48 8b 75 c8          	mov    -0x38(%rbp),%rsi
    1211:	8b 45 d8             	mov    -0x28(%rbp),%eax
    1214:	48 63 d0             	movslq %eax,%rdx
    1217:	48 89 d0             	mov    %rdx,%rax
    121a:	48 01 c0             	add    %rax,%rax
    121d:	48 01 d0             	add    %rdx,%rax
    1220:	48 c1 e0 02          	shl    $0x2,%rax
    1224:	48 01 f0             	add    %rsi,%rax
    1227:	48 05 ac 00 00 00    	add    $0xac,%rax
    122d:	89 08                	mov    %ecx,(%rax)
    122f:	8b 45 d8             	mov    -0x28(%rbp),%eax
    1232:	8d 50 01             	lea    0x1(%rax),%edx
    1235:	48 8b 45 c8          	mov    -0x38(%rbp),%rax
    1239:	48 63 d2             	movslq %edx,%rdx
    123c:	48 83 c2 06          	add    $0x6,%rdx
    1240:	8b 0c 90             	mov    (%rax,%rdx,4),%ecx
    1243:	48 8b 75 c8          	mov    -0x38(%rbp),%rsi
    1247:	8b 45 d8             	mov    -0x28(%rbp),%eax
    124a:	48 63 d0             	movslq %eax,%rdx
    124d:	48 89 d0             	mov    %rdx,%rax
    1250:	48 01 c0             	add    %rax,%rax
    1253:	48 01 d0             	add    %rdx,%rax
    1256:	48 c1 e0 02          	shl    $0x2,%rax
    125a:	48 01 f0             	add    %rsi,%rax
    125d:	48 05 b0 00 00 00    	add    $0xb0,%rax
    1263:	89 08                	mov    %ecx,(%rax)
    1265:	83 45 d8 01          	addl   $0x1,-0x28(%rbp)
    1269:	83 7d d8 06          	cmpl   $0x6,-0x28(%rbp)
    126d:	0f 8e 6e ff ff ff    	jle    11e1 <prim+0x18>
    1273:	c7 45 e0 02 00 00 00 	movl   $0x2,-0x20(%rbp)
    127a:	e9 2a 02 00 00       	jmpq   14a9 <prim+0x2e0>
    127f:	c7 45 e4 ff 7f 00 00 	movl   $0x7fff,-0x1c(%rbp)
    1286:	8b 45 e0             	mov    -0x20(%rbp),%eax
    1289:	83 e8 01             	sub    $0x1,%eax
    128c:	89 45 e8             	mov    %eax,-0x18(%rbp)
    128f:	8b 45 e0             	mov    -0x20(%rbp),%eax
    1292:	83 e8 01             	sub    $0x1,%eax
    1295:	89 45 dc             	mov    %eax,-0x24(%rbp)
    1298:	eb 56                	jmp    12f0 <prim+0x127>
    129a:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    129e:	8b 45 dc             	mov    -0x24(%rbp),%eax
    12a1:	48 63 d0             	movslq %eax,%rdx
    12a4:	48 89 d0             	mov    %rdx,%rax
    12a7:	48 01 c0             	add    %rax,%rax
    12aa:	48 01 d0             	add    %rdx,%rax
    12ad:	48 c1 e0 02          	shl    $0x2,%rax
    12b1:	48 01 c8             	add    %rcx,%rax
    12b4:	48 05 b0 00 00 00    	add    $0xb0,%rax
    12ba:	8b 00                	mov    (%rax),%eax
    12bc:	39 45 e4             	cmp    %eax,-0x1c(%rbp)
    12bf:	7e 2b                	jle    12ec <prim+0x123>
    12c1:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    12c5:	8b 45 dc             	mov    -0x24(%rbp),%eax
    12c8:	48 63 d0             	movslq %eax,%rdx
    12cb:	48 89 d0             	mov    %rdx,%rax
    12ce:	48 01 c0             	add    %rax,%rax
    12d1:	48 01 d0             	add    %rdx,%rax
    12d4:	48 c1 e0 02          	shl    $0x2,%rax
    12d8:	48 01 c8             	add    %rcx,%rax
    12db:	48 05 b0 00 00 00    	add    $0xb0,%rax
    12e1:	8b 00                	mov    (%rax),%eax
    12e3:	89 45 e4             	mov    %eax,-0x1c(%rbp)
    12e6:	8b 45 dc             	mov    -0x24(%rbp),%eax
    12e9:	89 45 e8             	mov    %eax,-0x18(%rbp)
    12ec:	83 45 dc 01          	addl   $0x1,-0x24(%rbp)
    12f0:	83 7d dc 05          	cmpl   $0x5,-0x24(%rbp)
    12f4:	7e a4                	jle    129a <prim+0xd1>
    12f6:	8b 45 e0             	mov    -0x20(%rbp),%eax
    12f9:	83 e8 01             	sub    $0x1,%eax
    12fc:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    1300:	48 63 d0             	movslq %eax,%rdx
    1303:	48 89 d0             	mov    %rdx,%rax
    1306:	48 01 c0             	add    %rax,%rax
    1309:	48 01 d0             	add    %rdx,%rax
    130c:	48 c1 e0 02          	shl    $0x2,%rax
    1310:	48 01 c8             	add    %rcx,%rax
    1313:	48 05 a0 00 00 00    	add    $0xa0,%rax
    1319:	48 8b 50 08          	mov    0x8(%rax),%rdx
    131d:	48 89 55 f4          	mov    %rdx,-0xc(%rbp)
    1321:	8b 40 10             	mov    0x10(%rax),%eax
    1324:	89 45 fc             	mov    %eax,-0x4(%rbp)
    1327:	8b 45 e0             	mov    -0x20(%rbp),%eax
    132a:	83 e8 01             	sub    $0x1,%eax
    132d:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    1331:	48 63 d0             	movslq %eax,%rdx
    1334:	48 89 d0             	mov    %rdx,%rax
    1337:	48 01 c0             	add    %rax,%rax
    133a:	48 01 d0             	add    %rdx,%rax
    133d:	48 c1 e0 02          	shl    $0x2,%rax
    1341:	48 01 c8             	add    %rcx,%rax
    1344:	48 8d 90 a0 00 00 00 	lea    0xa0(%rax),%rdx
    134b:	48 8b 75 c8          	mov    -0x38(%rbp),%rsi
    134f:	8b 45 e8             	mov    -0x18(%rbp),%eax
    1352:	48 63 c8             	movslq %eax,%rcx
    1355:	48 89 c8             	mov    %rcx,%rax
    1358:	48 01 c0             	add    %rax,%rax
    135b:	48 01 c8             	add    %rcx,%rax
    135e:	48 c1 e0 02          	shl    $0x2,%rax
    1362:	48 01 f0             	add    %rsi,%rax
    1365:	48 05 a0 00 00 00    	add    $0xa0,%rax
    136b:	48 8b 48 08          	mov    0x8(%rax),%rcx
    136f:	48 89 4a 08          	mov    %rcx,0x8(%rdx)
    1373:	8b 40 10             	mov    0x10(%rax),%eax
    1376:	89 42 10             	mov    %eax,0x10(%rdx)
    1379:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    137d:	8b 45 e8             	mov    -0x18(%rbp),%eax
    1380:	48 63 d0             	movslq %eax,%rdx
    1383:	48 89 d0             	mov    %rdx,%rax
    1386:	48 01 c0             	add    %rax,%rax
    1389:	48 01 d0             	add    %rdx,%rax
    138c:	48 c1 e0 02          	shl    $0x2,%rax
    1390:	48 01 c8             	add    %rcx,%rax
    1393:	48 05 a0 00 00 00    	add    $0xa0,%rax
    1399:	48 8b 55 f4          	mov    -0xc(%rbp),%rdx
    139d:	48 89 50 08          	mov    %rdx,0x8(%rax)
    13a1:	8b 55 fc             	mov    -0x4(%rbp),%edx
    13a4:	89 50 10             	mov    %edx,0x10(%rax)
    13a7:	8b 45 e0             	mov    -0x20(%rbp),%eax
    13aa:	83 e8 01             	sub    $0x1,%eax
    13ad:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    13b1:	48 63 d0             	movslq %eax,%rdx
    13b4:	48 89 d0             	mov    %rdx,%rax
    13b7:	48 01 c0             	add    %rax,%rax
    13ba:	48 01 d0             	add    %rdx,%rax
    13bd:	48 c1 e0 02          	shl    $0x2,%rax
    13c1:	48 01 c8             	add    %rcx,%rax
    13c4:	48 05 ac 00 00 00    	add    $0xac,%rax
    13ca:	8b 00                	mov    (%rax),%eax
    13cc:	89 45 dc             	mov    %eax,-0x24(%rbp)
    13cf:	8b 45 e0             	mov    -0x20(%rbp),%eax
    13d2:	89 45 d8             	mov    %eax,-0x28(%rbp)
    13d5:	e9 c1 00 00 00       	jmpq   149b <prim+0x2d2>
    13da:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    13de:	8b 45 d8             	mov    -0x28(%rbp),%eax
    13e1:	48 63 d0             	movslq %eax,%rdx
    13e4:	48 89 d0             	mov    %rdx,%rax
    13e7:	48 01 c0             	add    %rax,%rax
    13ea:	48 01 d0             	add    %rdx,%rax
    13ed:	48 c1 e0 02          	shl    $0x2,%rax
    13f1:	48 01 c8             	add    %rcx,%rax
    13f4:	48 05 ac 00 00 00    	add    $0xac,%rax
    13fa:	8b 00                	mov    (%rax),%eax
    13fc:	89 45 ec             	mov    %eax,-0x14(%rbp)
    13ff:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    1403:	8b 45 ec             	mov    -0x14(%rbp),%eax
    1406:	48 63 f0             	movslq %eax,%rsi
    1409:	8b 45 dc             	mov    -0x24(%rbp),%eax
    140c:	48 63 d0             	movslq %eax,%rdx
    140f:	48 89 d0             	mov    %rdx,%rax
    1412:	48 01 c0             	add    %rax,%rax
    1415:	48 01 d0             	add    %rdx,%rax
    1418:	48 01 c0             	add    %rax,%rax
    141b:	48 01 f0             	add    %rsi,%rax
    141e:	8b 04 81             	mov    (%rcx,%rax,4),%eax
    1421:	89 45 f0             	mov    %eax,-0x10(%rbp)
    1424:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    1428:	8b 45 d8             	mov    -0x28(%rbp),%eax
    142b:	48 63 d0             	movslq %eax,%rdx
    142e:	48 89 d0             	mov    %rdx,%rax
    1431:	48 01 c0             	add    %rax,%rax
    1434:	48 01 d0             	add    %rdx,%rax
    1437:	48 c1 e0 02          	shl    $0x2,%rax
    143b:	48 01 c8             	add    %rcx,%rax
    143e:	48 05 b0 00 00 00    	add    $0xb0,%rax
    1444:	8b 00                	mov    (%rax),%eax
    1446:	39 45 f0             	cmp    %eax,-0x10(%rbp)
    1449:	7d 4c                	jge    1497 <prim+0x2ce>
    144b:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    144f:	8b 45 d8             	mov    -0x28(%rbp),%eax
    1452:	48 63 d0             	movslq %eax,%rdx
    1455:	48 89 d0             	mov    %rdx,%rax
    1458:	48 01 c0             	add    %rax,%rax
    145b:	48 01 d0             	add    %rdx,%rax
    145e:	48 c1 e0 02          	shl    $0x2,%rax
    1462:	48 01 c8             	add    %rcx,%rax
    1465:	48 8d 90 b0 00 00 00 	lea    0xb0(%rax),%rdx
    146c:	8b 45 f0             	mov    -0x10(%rbp),%eax
    146f:	89 02                	mov    %eax,(%rdx)
    1471:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
    1475:	8b 45 d8             	mov    -0x28(%rbp),%eax
    1478:	48 63 d0             	movslq %eax,%rdx
    147b:	48 89 d0             	mov    %rdx,%rax
    147e:	48 01 c0             	add    %rax,%rax
    1481:	48 01 d0             	add    %rdx,%rax
    1484:	48 c1 e0 02          	shl    $0x2,%rax
    1488:	48 01 c8             	add    %rcx,%rax
    148b:	48 8d 90 a8 00 00 00 	lea    0xa8(%rax),%rdx
    1492:	8b 45 dc             	mov    -0x24(%rbp),%eax
    1495:	89 02                	mov    %eax,(%rdx)
    1497:	83 45 d8 01          	addl   $0x1,-0x28(%rbp)
    149b:	83 7d d8 05          	cmpl   $0x5,-0x28(%rbp)
    149f:	0f 8e 35 ff ff ff    	jle    13da <prim+0x211>
    14a5:	83 45 e0 01          	addl   $0x1,-0x20(%rbp)
    14a9:	83 7d e0 06          	cmpl   $0x6,-0x20(%rbp)
    14ad:	0f 8e cc fd ff ff    	jle    127f <prim+0xb6>
    14b3:	90                   	nop
    14b4:	90                   	nop
    14b5:	5d                   	pop    %rbp
    14b6:	c3                   	retq   

00000000000014b7 <display>:
    14b7:	f3 0f 1e fa          	endbr64 
    14bb:	55                   	push   %rbp
    14bc:	48 89 e5             	mov    %rsp,%rbp
    14bf:	48 83 ec 20          	sub    $0x20,%rsp
    14c3:	48 89 7d e8          	mov    %rdi,-0x18(%rbp)
    14c7:	89 75 e4             	mov    %esi,-0x1c(%rbp)
    14ca:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%rbp)
    14d1:	c7 45 f4 01 00 00 00 	movl   $0x1,-0xc(%rbp)
    14d8:	eb 67                	jmp    1541 <display+0x8a>
    14da:	c7 45 f8 01 00 00 00 	movl   $0x1,-0x8(%rbp)
    14e1:	eb 54                	jmp    1537 <display+0x80>
    14e3:	48 8b 4d e8          	mov    -0x18(%rbp),%rcx
    14e7:	8b 45 f8             	mov    -0x8(%rbp),%eax
    14ea:	48 63 f0             	movslq %eax,%rsi
    14ed:	8b 45 f4             	mov    -0xc(%rbp),%eax
    14f0:	48 63 d0             	movslq %eax,%rdx
    14f3:	48 89 d0             	mov    %rdx,%rax
    14f6:	48 01 c0             	add    %rax,%rax
    14f9:	48 01 d0             	add    %rdx,%rax
    14fc:	48 01 c0             	add    %rax,%rax
    14ff:	48 01 f0             	add    %rsi,%rax
    1502:	8b 04 81             	mov    (%rcx,%rax,4),%eax
    1505:	89 c6                	mov    %eax,%esi
    1507:	48 8d 3d fa 0a 00 00 	lea    0xafa(%rip),%rdi        # 2008 <_IO_stdin_used+0x8>
    150e:	b8 00 00 00 00       	mov    $0x0,%eax
    1513:	e8 a8 fb ff ff       	callq  10c0 <printf@plt>
    1518:	83 45 fc 01          	addl   $0x1,-0x4(%rbp)
    151c:	8b 45 fc             	mov    -0x4(%rbp),%eax
    151f:	99                   	cltd   
    1520:	f7 7d e4             	idivl  -0x1c(%rbp)
    1523:	89 d0                	mov    %edx,%eax
    1525:	85 c0                	test   %eax,%eax
    1527:	75 0a                	jne    1533 <display+0x7c>
    1529:	bf 0a 00 00 00       	mov    $0xa,%edi
    152e:	e8 5d fb ff ff       	callq  1090 <putchar@plt>
    1533:	83 45 f8 01          	addl   $0x1,-0x8(%rbp)
    1537:	83 7d f8 06          	cmpl   $0x6,-0x8(%rbp)
    153b:	7e a6                	jle    14e3 <display+0x2c>
    153d:	83 45 f4 01          	addl   $0x1,-0xc(%rbp)
    1541:	83 7d f4 06          	cmpl   $0x6,-0xc(%rbp)
    1545:	7e 93                	jle    14da <display+0x23>
    1547:	bf 0a 00 00 00       	mov    $0xa,%edi
    154c:	e8 3f fb ff ff       	callq  1090 <putchar@plt>
    1551:	90                   	nop
    1552:	c9                   	leaveq 
    1553:	c3                   	retq   

0000000000001554 <main>:
    1554:	f3 0f 1e fa          	endbr64 
    1558:	55                   	push   %rbp
    1559:	48 89 e5             	mov    %rsp,%rbp
    155c:	48 81 ec 20 01 00 00 	sub    $0x120,%rsp
    1563:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    156a:	00 00 
    156c:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1570:	31 c0                	xor    %eax,%eax
    1572:	c7 85 e0 fe ff ff 01 	movl   $0x1,-0x120(%rbp)
    1579:	00 00 00 
    157c:	e9 a3 00 00 00       	jmpq   1624 <main+0xd0>
    1581:	c7 85 e4 fe ff ff 01 	movl   $0x1,-0x11c(%rbp)
    1588:	00 00 00 
    158b:	eb 79                	jmp    1606 <main+0xb2>
    158d:	8b 95 e0 fe ff ff    	mov    -0x120(%rbp),%edx
    1593:	8b 85 e4 fe ff ff    	mov    -0x11c(%rbp),%eax
    1599:	39 c2                	cmp    %eax,%edx
    159b:	75 2e                	jne    15cb <main+0x77>
    159d:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    15a3:	8b 95 e4 fe ff ff    	mov    -0x11c(%rbp),%edx
    15a9:	48 63 ca             	movslq %edx,%rcx
    15ac:	48 63 d0             	movslq %eax,%rdx
    15af:	48 89 d0             	mov    %rdx,%rax
    15b2:	48 01 c0             	add    %rax,%rax
    15b5:	48 01 d0             	add    %rdx,%rax
    15b8:	48 01 c0             	add    %rax,%rax
    15bb:	48 01 c8             	add    %rcx,%rax
    15be:	c7 84 85 f0 fe ff ff 	movl   $0x0,-0x110(%rbp,%rax,4)
    15c5:	00 00 00 00 
    15c9:	eb 2c                	jmp    15f7 <main+0xa3>
    15cb:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    15d1:	8b 95 e4 fe ff ff    	mov    -0x11c(%rbp),%edx
    15d7:	48 63 ca             	movslq %edx,%rcx
    15da:	48 63 d0             	movslq %eax,%rdx
    15dd:	48 89 d0             	mov    %rdx,%rax
    15e0:	48 01 c0             	add    %rax,%rax
    15e3:	48 01 d0             	add    %rdx,%rax
    15e6:	48 01 c0             	add    %rax,%rax
    15e9:	48 01 c8             	add    %rcx,%rax
    15ec:	c7 84 85 f0 fe ff ff 	movl   $0x7fff,-0x110(%rbp,%rax,4)
    15f3:	ff 7f 00 00 
    15f7:	8b 85 e4 fe ff ff    	mov    -0x11c(%rbp),%eax
    15fd:	83 c0 01             	add    $0x1,%eax
    1600:	89 85 e4 fe ff ff    	mov    %eax,-0x11c(%rbp)
    1606:	8b 85 e4 fe ff ff    	mov    -0x11c(%rbp),%eax
    160c:	83 f8 06             	cmp    $0x6,%eax
    160f:	0f 8e 78 ff ff ff    	jle    158d <main+0x39>
    1615:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    161b:	83 c0 01             	add    $0x1,%eax
    161e:	89 85 e0 fe ff ff    	mov    %eax,-0x120(%rbp)
    1624:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    162a:	83 f8 06             	cmp    $0x6,%eax
    162d:	0f 8e 4e ff ff ff    	jle    1581 <main+0x2d>
    1633:	c7 85 ec fe ff ff 01 	movl   $0x1,-0x114(%rbp)
    163a:	00 00 00 
    163d:	e9 98 00 00 00       	jmpq   16da <main+0x186>
    1642:	48 8d 3d c7 09 00 00 	lea    0x9c7(%rip),%rdi        # 2010 <_IO_stdin_used+0x10>
    1649:	e8 52 fa ff ff       	callq  10a0 <puts@plt>
    164e:	48 8d 8d e8 fe ff ff 	lea    -0x118(%rbp),%rcx
    1655:	48 8d 95 e4 fe ff ff 	lea    -0x11c(%rbp),%rdx
    165c:	48 8d 85 e0 fe ff ff 	lea    -0x120(%rbp),%rax
    1663:	48 89 c6             	mov    %rax,%rsi
    1666:	48 8d 3d c9 09 00 00 	lea    0x9c9(%rip),%rdi        # 2036 <_IO_stdin_used+0x36>
    166d:	b8 00 00 00 00       	mov    $0x0,%eax
    1672:	e8 59 fa ff ff       	callq  10d0 <__isoc99_scanf@plt>
    1677:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    167d:	8b 95 e4 fe ff ff    	mov    -0x11c(%rbp),%edx
    1683:	8b 8d e8 fe ff ff    	mov    -0x118(%rbp),%ecx
    1689:	48 63 f2             	movslq %edx,%rsi
    168c:	48 63 d0             	movslq %eax,%rdx
    168f:	48 89 d0             	mov    %rdx,%rax
    1692:	48 01 c0             	add    %rax,%rax
    1695:	48 01 d0             	add    %rdx,%rax
    1698:	48 01 c0             	add    %rax,%rax
    169b:	48 01 f0             	add    %rsi,%rax
    169e:	89 8c 85 f0 fe ff ff 	mov    %ecx,-0x110(%rbp,%rax,4)
    16a5:	8b 85 e4 fe ff ff    	mov    -0x11c(%rbp),%eax
    16ab:	8b 95 e0 fe ff ff    	mov    -0x120(%rbp),%edx
    16b1:	8b 8d e8 fe ff ff    	mov    -0x118(%rbp),%ecx
    16b7:	48 63 f2             	movslq %edx,%rsi
    16ba:	48 63 d0             	movslq %eax,%rdx
    16bd:	48 89 d0             	mov    %rdx,%rax
    16c0:	48 01 c0             	add    %rax,%rax
    16c3:	48 01 d0             	add    %rdx,%rax
    16c6:	48 01 c0             	add    %rax,%rax
    16c9:	48 01 f0             	add    %rsi,%rax
    16cc:	89 8c 85 f0 fe ff ff 	mov    %ecx,-0x110(%rbp,%rax,4)
    16d3:	83 85 ec fe ff ff 01 	addl   $0x1,-0x114(%rbp)
    16da:	83 bd ec fe ff ff 0a 	cmpl   $0xa,-0x114(%rbp)
    16e1:	0f 8e 5b ff ff ff    	jle    1642 <main+0xee>
    16e7:	48 8d 85 f0 fe ff ff 	lea    -0x110(%rbp),%rax
    16ee:	48 89 c7             	mov    %rax,%rdi
    16f1:	e8 d3 fa ff ff       	callq  11c9 <prim>
    16f6:	48 8d 85 f0 fe ff ff 	lea    -0x110(%rbp),%rax
    16fd:	be 06 00 00 00       	mov    $0x6,%esi
    1702:	48 89 c7             	mov    %rax,%rdi
    1705:	e8 ad fd ff ff       	callq  14b7 <display>
    170a:	c7 85 e0 fe ff ff 01 	movl   $0x1,-0x120(%rbp)
    1711:	00 00 00 
    1714:	e9 af 00 00 00       	jmpq   17c8 <main+0x274>
    1719:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    171f:	48 63 d0             	movslq %eax,%rdx
    1722:	48 89 d0             	mov    %rdx,%rax
    1725:	48 01 c0             	add    %rax,%rax
    1728:	48 01 d0             	add    %rdx,%rax
    172b:	48 c1 e0 02          	shl    $0x2,%rax
    172f:	48 01 e8             	add    %rbp,%rax
    1732:	48 83 e8 68          	sub    $0x68,%rax
    1736:	8b 00                	mov    (%rax),%eax
    1738:	89 c6                	mov    %eax,%esi
    173a:	48 8d 3d fe 08 00 00 	lea    0x8fe(%rip),%rdi        # 203f <_IO_stdin_used+0x3f>
    1741:	b8 00 00 00 00       	mov    $0x0,%eax
    1746:	e8 75 f9 ff ff       	callq  10c0 <printf@plt>
    174b:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    1751:	48 63 d0             	movslq %eax,%rdx
    1754:	48 89 d0             	mov    %rdx,%rax
    1757:	48 01 c0             	add    %rax,%rax
    175a:	48 01 d0             	add    %rdx,%rax
    175d:	48 c1 e0 02          	shl    $0x2,%rax
    1761:	48 01 e8             	add    %rbp,%rax
    1764:	48 83 e8 64          	sub    $0x64,%rax
    1768:	8b 00                	mov    (%rax),%eax
    176a:	89 c6                	mov    %eax,%esi
    176c:	48 8d 3d da 08 00 00 	lea    0x8da(%rip),%rdi        # 204d <_IO_stdin_used+0x4d>
    1773:	b8 00 00 00 00       	mov    $0x0,%eax
    1778:	e8 43 f9 ff ff       	callq  10c0 <printf@plt>
    177d:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    1783:	48 63 d0             	movslq %eax,%rdx
    1786:	48 89 d0             	mov    %rdx,%rax
    1789:	48 01 c0             	add    %rax,%rax
    178c:	48 01 d0             	add    %rdx,%rax
    178f:	48 c1 e0 02          	shl    $0x2,%rax
    1793:	48 01 e8             	add    %rbp,%rax
    1796:	48 83 e8 60          	sub    $0x60,%rax
    179a:	8b 00                	mov    (%rax),%eax
    179c:	89 c6                	mov    %eax,%esi
    179e:	48 8d 3d b6 08 00 00 	lea    0x8b6(%rip),%rdi        # 205b <_IO_stdin_used+0x5b>
    17a5:	b8 00 00 00 00       	mov    $0x0,%eax
    17aa:	e8 11 f9 ff ff       	callq  10c0 <printf@plt>
    17af:	bf 0a 00 00 00       	mov    $0xa,%edi
    17b4:	e8 d7 f8 ff ff       	callq  1090 <putchar@plt>
    17b9:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    17bf:	83 c0 01             	add    $0x1,%eax
    17c2:	89 85 e0 fe ff ff    	mov    %eax,-0x120(%rbp)
    17c8:	8b 85 e0 fe ff ff    	mov    -0x120(%rbp),%eax
    17ce:	83 f8 05             	cmp    $0x5,%eax
    17d1:	0f 8e 42 ff ff ff    	jle    1719 <main+0x1c5>
    17d7:	90                   	nop
    17d8:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    17dc:	64 48 33 04 25 28 00 	xor    %fs:0x28,%rax
    17e3:	00 00 
    17e5:	74 05                	je     17ec <main+0x298>
    17e7:	e8 c4 f8 ff ff       	callq  10b0 <__stack_chk_fail@plt>
    17ec:	c9                   	leaveq 
    17ed:	c3                   	retq   
    17ee:	66 90                	xchg   %ax,%ax

00000000000017f0 <__libc_csu_init>:
    17f0:	f3 0f 1e fa          	endbr64 
    17f4:	41 57                	push   %r15
    17f6:	4c 8d 3d 9b 25 00 00 	lea    0x259b(%rip),%r15        # 3d98 <__frame_dummy_init_array_entry>
    17fd:	41 56                	push   %r14
    17ff:	49 89 d6             	mov    %rdx,%r14
    1802:	41 55                	push   %r13
    1804:	49 89 f5             	mov    %rsi,%r13
    1807:	41 54                	push   %r12
    1809:	41 89 fc             	mov    %edi,%r12d
    180c:	55                   	push   %rbp
    180d:	48 8d 2d 8c 25 00 00 	lea    0x258c(%rip),%rbp        # 3da0 <__do_global_dtors_aux_fini_array_entry>
    1814:	53                   	push   %rbx
    1815:	4c 29 fd             	sub    %r15,%rbp
    1818:	48 83 ec 08          	sub    $0x8,%rsp
    181c:	e8 df f7 ff ff       	callq  1000 <_init>
    1821:	48 c1 fd 03          	sar    $0x3,%rbp
    1825:	74 1f                	je     1846 <__libc_csu_init+0x56>
    1827:	31 db                	xor    %ebx,%ebx
    1829:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1830:	4c 89 f2             	mov    %r14,%rdx
    1833:	4c 89 ee             	mov    %r13,%rsi
    1836:	44 89 e7             	mov    %r12d,%edi
    1839:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    183d:	48 83 c3 01          	add    $0x1,%rbx
    1841:	48 39 dd             	cmp    %rbx,%rbp
    1844:	75 ea                	jne    1830 <__libc_csu_init+0x40>
    1846:	48 83 c4 08          	add    $0x8,%rsp
    184a:	5b                   	pop    %rbx
    184b:	5d                   	pop    %rbp
    184c:	41 5c                	pop    %r12
    184e:	41 5d                	pop    %r13
    1850:	41 5e                	pop    %r14
    1852:	41 5f                	pop    %r15
    1854:	c3                   	retq   
    1855:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    185c:	00 00 00 00 

0000000000001860 <__libc_csu_fini>:
    1860:	f3 0f 1e fa          	endbr64 
    1864:	c3                   	retq   

Disassembly of section .fini:

0000000000001868 <_fini>:
    1868:	f3 0f 1e fa          	endbr64 
    186c:	48 83 ec 08          	sub    $0x8,%rsp
    1870:	48 83 c4 08          	add    $0x8,%rsp
    1874:	c3                   	retq   
